<?php

namespace App\Entities;

use Illuminate\Database\Eloquent\Model;

class Member extends Model
{
    //
    protected $table = 's_members';

    protected $fillable = [ 'name', 'phone','saler'];

    public function classMember() {
        return $this->hasMany('App\Entities\ClassMember', 'member_id', 'id');
    }


}
